Skip to main content

frameCount

Type

property

Summary

Reports the number of frames in an animated GIF image.

Syntax

get the frameCount of <image>

Description

Use the frameCount property to determine the length of a GIF animation.

If the image is not an animated GIF, its frameCount is zero.

Examples

put the frameCount of image "Welcome Animation" into estNumberOfSecs

glossary: property, animated GIF, frame, non-negative

keyword: image, integer

property: currentFrame

command: play

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?